using System.Data;
using ET;
using DAL;
namespace BLL
{
    public class Inventory_Detail_BLL
    {
        public static Inventory_Detail_DAL cls = new Inventory_Detail_DAL();

        #region Getdata
        public DataTable BindGirdtb_Inventory_Detail(string keywords)
        {
            return cls.BindGirdtb_Inventory_Detail(keywords);
        }
        public DataTable BindGirdtb_Inventory_Materials(int id)
        {
            return cls.BindGirdtb_Inventory_Materials(id);
        }
        #endregion

        #region Insert
        public static bool Inserttb_Inventory_Detail(Inventory_Detail_ET obj)
        {
            return cls.Inserttb_Inventory_Detail(obj);
        }
        #endregion

        #region Update
        public static bool Updatetb_Inventory_Detail(Inventory_Detail_ET obj)
        {
            return cls.Updatetb_Inventory_Detail(obj);
        }
        #endregion

        #region Delete
        public static bool Deletetb_Inventory_Detail(int id)
        {
            return cls.Deletetb_Inventory_Detail(id);
        }
        public static bool Deletetb_Inventory_Detail_Default_ID(int id)
        {
            return cls.Deletetb_Inventory_Detail_Default_ID(id);
        }
        #endregion
        #region Sum
        public DataTable Sum_Inventory_Detail_Quality_HaveInventory(int id)
        {
            return cls.Sum_Inventory_Detail_Quality_HaveInventory(id);
        }
        #endregion
    }
}